package com.tan.service;

import com.tan.pojo.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author tanRuYi
 * @since 2021-08-25
 */
public interface IMenuService extends IService<Menu> {

    List<Menu> buildMenuTree(String username);

    List<Menu> getMenuListByRoleId(Long id);

    Menu getMenuByMenuId(Long menuId);
}
